<!-- HTML header for doxygen 1.8.13-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.2"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Hardware Abstraction Layer (HAL)</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen_style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><a href="http://www.cypress.com/"><img alt="Logo" src="logo.png"/></a></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Hardware Abstraction Layer (HAL)</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.2 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search",'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function(){initNavTree('group__group__hal__impl__tdm.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle"><div class="title">TDM (Time Division Multiplexing)<div class="ingroups"><a class="el" href="group__group__hal__impl.html">CAT1 Implementation Specific</a></div></div></div>
</div><!--header-->
<div class="contents">
<p >The CAT1 (PSoC™ 6) TDM Supports the following values for word lengths: </p>
<ul>
<li>8 bits</li>
<li>10 bits (CAT1B only)</li>
<li>12 bits (CAT1B only)</li>
<li>14 bits (CAT1B only)</li>
<li>16 bits</li>
<li>18 bits</li>
<li>20 bits</li>
<li>24 bits</li>
<li>32 bits</li>
</ul>
<p >On CAT1A devices, the only supported channel length is 32 bits. On CAT1B devices, the channel length may be any value greater than or equal to the word length and less than or equal to 32 bits.</p>
<p >On CAT1A devices, up to 8 channels are supported. On CAT1B devices, the number of supported channels is specified by the <code>TDM_NR&lt;n&gt;_CH_NR</code> macros. Disabling channels (so that they are included in the sequencing but ignored) is only supported on CAT1B devices.</p>
<p >The sclk signal is formed by integer division of the input clock source (either internally provided or from the mclk pin). The CAT1A TDM supports sclk divider values from 1 to 64. On CAT1B devices, the TDM supports sclk divider values from 2 to 256. On CAT1A devices, if both RX and TX are used, the same GPIO must be specified for mclk in both directions. See the device datasheet for more details on valid pin selections.</p>
<p >The following events are not supported on CAT1B:</p><ul>
<li><a class="el" href="group__group__hal__tdm.html#gga76e6f6677a7173e7668df7dad2763bfda9505927c6b48f779477245cac097b082">CYHAL_TDM_TX_EMPTY</a></li>
<li><a class="el" href="group__group__hal__tdm.html#gga76e6f6677a7173e7668df7dad2763bfdace213649b16508bb007cd4932bfb7b6a">CYHAL_TDM_TX_NOT_FULL</a></li>
<li><a class="el" href="group__group__hal__tdm.html#gga76e6f6677a7173e7668df7dad2763bfda07581314d39cd62a7a2241d2459bda94">CYHAL_TDM_RX_FULL</a></li>
<li><a class="el" href="group__group__hal__tdm.html#gga76e6f6677a7173e7668df7dad2763bfda91b2ea8662c28d37612b48bbd12178c1">CYHAL_TDM_RX_NOT_EMPTY</a></li>
</ul>
<dl class="section note"><dt>Note</dt><dd>If the TDM hardware is initialized with a configurator-generated configuration via the <a class="el" href="group__group__hal__tdm.html#ga5476553a9966de30d9370386aa8385da">cyhal_tdm_init_cfg</a> function, the <a class="el" href="group__group__hal__tdm.html#gga76e6f6677a7173e7668df7dad2763bfda393f0d78bfe8025c9dee101297505ac8">CYHAL_TDM_TX_HALF_EMPTY</a> and <a class="el" href="group__group__hal__tdm.html#gga76e6f6677a7173e7668df7dad2763bfda138b7386b2f0ea0dd7ad72f705089f11">CYHAL_TDM_RX_HALF_FULL</a> events will be raised at the configurator defined TX and RX FIFO trigger levels, respectively, instead of their usual trigger level of half the FIFO depth. </dd></dl>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part
<div id="nav-path" class="navpath">
    <ul>
        <li class="footer">
            Generated for <b>Hardware Abstraction Layer (HAL)</b> by <b>Cypress Semiconductor Corporation</b>.
            All rights reserved.
        </li>
    </ul>
</div>
-->
</body>
</html>
